package bean;

import java.util.List;

public class RoomBean {
    private int id;
    private String addr;
    private int count;
    private String status="正常";
    private String type;
    private List<StudentBean> studentList;
    private int inCount; //已入住人数

    public RoomBean() {
    }

    public RoomBean(String addr, int count, String type) {
        this.addr = addr;
        this.count = count;
        this.type = type;
    }

    public int getId() {
        return id;
    }

    public void setId(int id) {
        this.id = id;
    }

    public String getAddr() {
        return addr;
    }

    public void setAddr(String addr) {
        this.addr = addr;
    }

    public int getCount() {
        return count;
    }

    public void setCount(int count) {
        this.count = count;
    }

    public String getStatus() {
        return status;
    }

    public void setStatus(String status) {
        this.status = status;
    }

    public String getType() {
        return type;
    }

    public void setType(String type) {
        this.type = type;
    }

    public int getInCount() {
        return inCount;
    }

    public void setInCount(int inCount) {
        this.inCount = inCount;
    }

    @Override
    public String toString() {
        return "RoomBean{" +
                "id=" + id +
                ", addr='" + addr + '\'' +
                ", count=" + count +
                ", status='" + status + '\'' +
                ", type='" + type + '\'' +
                ", studentList=" + studentList +
                ", inCount=" + inCount +
                '}'+"\n";
    }
}
